package cn.ssm.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import cn.ssm.biz.CompInfoBiz;
import cn.ssm.dao.CompInfoMapper;
import cn.ssm.pojo.Computerinfo;
import cn.ssm.query.ComputerQuery;

@Service("CImpl")
public class CompInfoBizImpl implements CompInfoBiz {
	
	@Autowired
	@Qualifier("CompInfoMapper")
	private CompInfoMapper CompInfoMapper;
	public List<Computerinfo> selectCompInfo(int CRID) {
		return CompInfoMapper.selectCompinfo(CRID);
	}
	@Override
	public int updateCompinfoDescribeById(String describe,
			int computerId, int computerRoomId) {
		// TODO Auto-generated method stub
		return CompInfoMapper.updateCompinfoDescribeById(describe, computerId, computerRoomId);
	}
	
	@Override
	public ComputerQuery selComputer(String periodName, Integer computerroomId, Integer computerId) {
		// TODO Auto-generated method stub
		return CompInfoMapper.selComputer(periodName, computerroomId, computerId);
	}

	
}
